#ifndef GUIWINDOW_H_
#define GUIWINDOW_H_

#include "guiComponent.h"

class guiWindow : public virtual guiComponent {
	protected:
		s32 m_width;
		s32 m_height;
		core::stringw m_caption;
		bool m_modal;
	public:
		guiWindow(s32 x, s32 y, s32 w, s32 h, bool modal, core::stringw caption, guiComponent* parent = 0);
		virtual bool hasID(const s32& id) {
		}
		virtual void handleEvent(const s32& id, const SEvent& event) {
		}
		inline bool getModal() { return m_modal; }
		inline void setModal(bool f) { m_modal = f; }
		inline s32 getWidth() { return m_width; }
		inline s32 getHeight() { return m_height; }
		inline void setWidth(s32 w) { m_width = w; }
		inline void setHeight(s32 h) { m_height = h; }
		inline core::stringw getCaption() { return m_caption; }
		inline void setCaption(core::stringw f) { m_caption = f; }
		virtual ~guiWindow();
};

#endif /*GUIWINDOW_H_*/
